The Source Control Integration API > Enablers > SCS_BeforePut()

 

SCS_BeforePut()

Description

Dreamweaver calls this function before putting or checking in one or more files. This enables your DLL to perform one operation, such as adding a checkin comment, to a group of files.

Arguments

*connectionData

*connectionData is a pointer to the connection data.

Returns

A Boolean true if successful, false if unsuccessful.

Example

To get a group of files, Dreamweaver makes calls to the DLL in the following order:

SCS_BeforePut(connectionData);
SCS_Put(connectionData,localPathList1,remotePathList1,successList1);
SCS_Put(connectionData,localPathList2,remotePathList2,successList2);
SCS_Put(connectionData,localPathList3,remotePathList3,successList3);
SCS_AfterPut(connectionData);